﻿using System;
using RedBranch.Hammock;
using CouchAdmin.ViewModel;

namespace CouchAdmin
{
    public class CouchReplicationRepository
    {
        public Session Session { get; set; }

        public CouchReplicationRepository()
        {
            var c = new Connection(new Uri("http://localhost:5984/"));
            Session = c.CreateSession("_replicator");
        }
    }
}
